package com.demo.springBoot2.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import org.springframework.stereotype.Component;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * @Author pl711@qq.com
 * @PackageName springBoot2
 * @Package com.demo.springBoot2.entity.vo
 * @Date 2024/3/17 14:53
 * @Version 1.0
 */
@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UsersFriendRegisterVO {
    @NotNull(message = "用户ID不能为空")
    @ApiModelProperty(value = "用户ID",required = true)
    private Integer userId;

    @NotNull(message = "好友ID不能为空")
    @ApiModelProperty(value = "好友ID",required = true)
    private Integer friendId;

}
